package com.lingnan.wanxiangxinxun.entity.vo.service;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class NewsVO  {


    private Integer id;
    private String title;
    private String frontCover;

    private String content;

    private Integer viewsNum;
    private Integer likeNum;
    private Integer favoriteNum;


    private Integer categoryId;
    private Integer authorId;
    private Integer checkerId;
    private String categoryName;
    private String authorName;
    private String checkerName;


    private String rejectReason; //稿件退回原因
    private Integer status; //状态(0待审,1已发布,2撤回)


    private LocalDateTime publishTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    private long current = 1;
    private long size = 10;
}
